﻿using System.ComponentModel.DataAnnotations;

namespace LowCoding.Dto.Basic.BaseRefCTypes
{
    public class BaseRefCTypesInput
    {
        /// <summary>
        /// ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 企业ID
        /// </summary>
        public string FLT_ID { get; set; }

        /// <summary>
        /// 代码类型
        /// </summary>
        [Required(ErrorMessage = "代码类型不能为空")]
        public string RV_DOMAIN { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Required(ErrorMessage = "名称不能为空")]
        public string RV_NAME { get; set; }

        /// <summary>
        /// 类型  U--用户代码  S--系统代码
        /// </summary>
        [Required(ErrorMessage = "类型不能为空")]
        public string RV_TYPE { get; set; }

        /// <summary>
        /// 字段长度
        /// </summary>
        public string RV_LENGTH { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        [Required(ErrorMessage = "有效标志不能为空")]
        public string RV_ISVALID { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string RV_REMARK { get; set; }

        /// <summary>
        /// 输入时间
        /// </summary>
        public DateTime CREATED { get; set; }

        /// <summary>
        /// 输入员工
        /// </summary>
        public string CREATOR { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime LASTMODIFIED { get; set; }

        /// <summary>
        /// 最后修改员工
        /// </summary>
        public string LASTMODIFIER { get; set; }


    }
}
